using MicroMsg.Protocol;
using System;
using System.Runtime.Serialization;
namespace MicroMsg.Storage
{
	[DataContract]
	public class Account
	{
		[DataMember]
		public string strUsrName;
		[DataMember]
		public string strPwd;
		[DataMember]
		public string strPwd2;
		[DataMember]
		public string strNickName;
		[DataMember]
		public int nVersion;
		[DataMember]
		public string strBindEmail;
		[DataMember]
		public string strBindMobile;
		[DataMember]
		public uint nBindQQ;
		[DataMember]
		public uint nStatus;
		[DataMember]
		public int nPushMailStatus;
		[DataMember]
		public string strOfficalUserName;
		[DataMember]
		public string strOfficalNickName;
		[DataMember]
		public string strQQMicroBlog;
		[DataMember]
		public string strQQMBlogUserName;
		[DataMember]
		public string strQQMBlogNickName;
		[DataMember]
		public int nQQMBlogStatus;
		[DataMember]
		public uint nUin;
		[DataMember]
		public byte[] bytesSessionkey;
		[DataMember]
		public byte[] bytesServerID;
		[DataMember]
		public int nInitStatus;
		[DataMember]
		public byte[] bytesCurSyncKey;
		[DataMember]
		public byte[] bytesMaxSyncKey;
		[DataMember]
		public byte[] bytesSyncKeyBuf;
		[DataMember]
		public int nNewUser;
		[DataMember]
		public int BitFlag;
		[DataMember]
		public uint nPersonalCard;
		[DataMember]
		public int nSex;
		[DataMember]
		public string strProvince;
		[DataMember]
		public string strCity;
		[DataMember]
		public string strSignature;
		[DataMember]
		public uint nPluginFlag;
		[DataMember]
		public uint nPluginSwitch;
		[DataMember]
		public int nVerifyFlag;
		[DataMember]
		public string strVerifyInfo;
		[DataMember]
		public double dbLastSessionKeyTimeStamp;
		[DataMember]
		public string strAlias;
		[DataMember]
		public string strFSURL;
		[DataMember]
		public string strTicket;
		[DataMember]
		public string strHDheadImgVersion;
		[DataMember]
		public string strBottleHDheadImgVersion;
		[DataMember]
		public string strCountry;
		[DataMember]
		public uint FaceBookFlag;
		[DataMember]
		public ulong FBUserID;
		[DataMember]
		public string FBUserName = "";
		[DataMember]
		public string FBToken = "";
		[DataMember]
		public uint nSnsFlag;
		[DataMember]
		public string strSnsBGImgID;
		[DataMember]
		public ulong nSnsBGObjectID;
		[DataMember]
		public string strWeibo;
		[DataMember]
		public string strWeiboNickname;
		[DataMember]
		public uint nWeiboFlag;
		[DataMember]
		public byte[] bytesA2Key;
		[DataMember]
		public string MyBrandList;
		[DataMember]
		public string MsgPushSound;
		[DataMember]
		public string VoipPushSound;
		[DataMember]
		public bool bIsEnabledAddrBookMatch;
		[DataMember]
		public bool bNotFirstInLbs;
		[DataMember]
		public bool bNotShowDialogInLbs;
		[DataMember]
		public int nMainPageSelectedIndex;
		[DataMember]
		public bool bHasAskOpenPush;
		public Account()
		{
			this.bytesSessionkey = new byte[36];
		}
		public Account(string userName) : this()
		{
			this.strUsrName = userName;
			this.nVersion = (int)ConstantsProtocol.CLIENT_VERSION;
		}
	}
}
